package com.springboot.controller;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.springboot.domain.Down;
import com.springboot.service.DownServiceI;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author HQJ
 * @since 2021-03-11
 */
@Controller
@RequestMapping("/down")
public class DownController extends BaseController<Down> {

    @Resource(name="")
    private DownServiceI dsi;

    @Override
    public List<Down> find(Down down) {
        QueryWrapper<Down> qw = new QueryWrapper<>();
        return dsi.list(qw);
    }
}

